namespace ReportToolAPI.Models
{
    /// <summary>
    /// 客单分析查询请求
    /// </summary>
    public class CustomerAnalysisRequest
    {
        public int DatabaseId { get; set; }
        public string StartDate { get; set; } = string.Empty;
        public string EndDate { get; set; } = string.Empty;
        public decimal MinAmount { get; set; }
    }

    /// <summary>
    /// 客单分析查询结果
    /// </summary>
    public class CustomerAnalysisResult
    {
        public string FlowNo { get; set; } = string.Empty;
        public decimal SaleAmount { get; set; }
        public string OperDate { get; set; } = string.Empty;
        public int PaymentCount { get; set; }
        public decimal PayAmount { get; set; }
    }
}

